const Login = (props) => {

  console.log("login", props);
  const { checkToken } = props
  let token = checkToken()
  if (token) {
    // 跳HOME
  } else {
    return (
      <div>
        <h1>LOGIN</h1>
        <input type="text" />
        <button>login</button>
      </div>
    )
  }

}

export default Login;